<template>
  <div class="desktop-bg">
    <div class="login-container">
      <div class="title-container">
        <div class="herder-span">
          <SystemTitle :notJump="true" />
        </div>
        <div class="info-content">
          <ul>
            <li>Vue3 + Element Plus + Pinia + Vite + Javascript</li>
            <li>MIT 协议开源</li>
            <li>集成前台、后台、登录页等多个板块</li>
            <li>主题/布局切换、系统自定义配色、水印、tab页签</li>
            <li>主题/布局切换、系统自定义配色、水印、tab页签</li>
          </ul>
        </div>
        <div class="footer-span">QianfanAdmin 中后台系统开源框架 MIT</div>
      </div>
      <div class="form-container"><slot name="default" /></div>
    </div>
  </div>
</template>
<script setup name="DesktopLogin">
import SystemTitle from "@/Layout/Components/SystemTitle.vue";
</script>
<style lang="scss" scoped>
.desktop-bg {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../../Assets/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  .login-container {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 40px -10px #ffffff50;
    width: 800px;
    height: 500px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
    .title-container {
      flex: 1;
      height: 100%;
      position: relative;
      .herder-span {
        position: absolute;
        left: 18px;
      }
      .info-content {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 30px;
        box-sizing: border-box;
        ul {
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: flex-start;
          flex-direction: column;
          li {
            text-align: left;
            font-size: 0.8rem;
            color: #000;
            margin: 10px 0;
          }
        }
      }
      .footer-span {
        position: absolute;
        bottom: 18px;
        left: 18px;
        color: #000;
        font-size: 0.8rem;
      }
    }
    .form-container {
      width: 45%;
      height: 100%;
    }
  }
}
</style>
